package jp.co.baka.gae.example.util;

public class StrUtil {


    public static String getStackTraceToString(Throwable e,String lineSep){

        StringBuffer trace = new StringBuffer();
        for(StackTraceElement err :e.getStackTrace()){
            trace.append(err.toString()).append(lineSep);

        }

        return trace.toString();


    }
}
